<%-- 
    Document   : MesInformations
    Created on : Mar 4, 2015, 10:32:28 PM
    Author     : trang_000
--%>

<%@page import="Models.Room"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="description" content="<s:property value="pageDescription"/>">
        <title><s:property value="title"/> - Online Dormitory System</title>
        <link href="<%= request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
        <link href="<%= request.getContextPath()%>/css/style_for_table.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <div class="headerbg">
            <%@include file="/include/nHeader.jsp" %>
        </div>
        <div class="contentbg">
            <div class="content1">
                <div class="content2">
                    <div class="contentLeft">
                        <div class="categories">
                            <div class="allCat">ALL CATEGORIES</div>
                            <%@include file="/include/nCategories.jsp" %>
                        </div>
                    </div>
                    <div class="contentRight">
                        <div class="body">
                            <div class="breadcrumb">
                                Home - Chambre & Lit
                            </div>
                            <div class="bodyUpper">
                                <h1>Ton account informations:</h1>
                                <s:form>
                                    <s:textfield name="address" label="Address" size="30" disabled="false" value="%{profile.UserID}"/>
                                    <s:textfield name="firstName" label="First Name" size="30" disabled="false" value="%{user.UserName}" readonly="true"/>
                                    <s:textfield name="lastName" label="Last Name" size="30" disabled="false" value="%{user.Password}" readonly="true"/>
                                </s:form>

                                <h1>Resultat</h1>
                                <table class="simpletable" border="1.5" style="width:100%">
                                    <tr>
                                        <s:iterator value="roomsResultList">
                                            <td>
                                                <s:property value="roomName"/>
                                                </br>
                                                <s:property value="currentMembre"/>/
                                                <s:property value="maximumMembre"/>
                                            </td>
                                        </s:iterator>     
                                        <%                                            //  }
                                               %>
                                    </tr>
                                </table>
                            </div>  
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="footerbg">
            <%@include file="/include/iFooter.jsp" %>
        </div>
    </body>
</html>